
import { createApp } from 'vue'
import { createPinia } from 'pinia' // 引入pinia
import App from './App.vue'
import router from './router' // 确保路径正确

//引入初始化样式文件
import  '@/styles/common.scss'
const app = createApp(App)
// 使用pinia
app.use(createPinia())

app.use(router) // 使用路由

//引入懒加载指令插件并注册
import { lazyPlugin } from './directives'
app.use(lazyPlugin)

app.mount('#app')

